package com.example.shouYeService.siYunShiPinTongJi.shiXianLei;

import com.example.shouYeDao.siYunShouYeDao.Video;
import com.example.shouYePoji.siYunShiPinTongJi.JiShuLei;
import com.example.shouYeService.siYunShiPinTongJi.VideoServce;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 首页
 * 视频信息
 * 首页视频信息的展示   视频总数   点赞量     收藏量    浏览数
 * 2022-11-11
 */
@Service
public class VideoSerce implements VideoServce {
    @Autowired
    private Video kk;

    @Override
    public JiShuLei getVideoTotal() {
        return kk.getVideoTotal();
    }
    //视频总量
//    @Override
//    public long getVideoTotal() {
//
//
//        return  kk.getVideoTotal().getTotal();
//    }

}
